#ifndef CTEXTPICKCOLOR_H
#define CTEXTPICKCOLOR_H

#include <QWidget>
#include <QLabel>
#include <QLineEdit>
#include <QRadioButton>
#include <QSpinBox>

class CTextPickColor : public QWidget
{
    Q_OBJECT
public:
    explicit CTextPickColor(QWidget *parent = nullptr);

    void init();
signals:


private:
    QFrame *m_frmCurr = nullptr;

    QLabel *m_pLabelName = nullptr;
    QLineEdit *m_pLineEdit = nullptr;

    QLabel *m_pLabelMode = nullptr;
    QSpinBox *m_pSpinBox1 = nullptr;
    QSpinBox *m_pSpinBox2 = nullptr;
    QSpinBox *m_pSpinBox3 = nullptr;

    QRadioButton *m_pRadBtnModeRGB = nullptr;
    QRadioButton *m_pRadBtnModeHSL = nullptr;
    QRadioButton *m_pRadBtnModeHSV = nullptr;
    QLabel *m_pLabelRGB = nullptr;
    QLabel *m_pLabelHSL = nullptr;
    QLabel *m_pLabelHSV = nullptr;
};

#endif // CTEXTPICKCOLOR_H
